Skip to content

Commit

Permalink
Whoops wrong type caused serialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sschr15 committed Jul 27, 2023
1 parent 7976251 commit 0feae0a
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package org.quiltmc.community.cozy.modules.ama
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package org.quiltmc.community.cozy.modules.ama

import com.kotlindiscord.kord.extensions.modules.extra.pluralkit.api.PKMemberPrivacy
import com.kotlindiscord.kord.extensions.modules.extra.pluralkit.api.PKProxyTag
Expand Down Expand Up @@ -123,7 +123,7 @@ public suspend fun UserBehavior.getPluralKitSystem(): PKResult<PKSystem> {
return PKResult.SystemNotAccessible
}

return systemRequest.body()
return PKResult.Success(systemRequest.body())
}

public suspend fun UserBehavior.getPluralKitMember(text: String): PKResult<PKMember> {
Expand Down

0 comments on commit 0feae0a

Please sign in to comment.