Skip to content

Commit

Permalink
fix mongodb data adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
sschr15 committed Dec 18, 2023
1 parent b41942d commit d7c5d45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class MongoDBDataAdapter : DataAdapter<String>(), KordExKoinComponent {

private fun StorageUnit<*>.getIdentifier(): String =
buildString {
append("${storageType.type}/")
append("$namespace/${storageType.type}/")

if (guild != null) append("guild-$guild/")
if (channel != null) append("channel-$channel/")
Expand Down

0 comments on commit d7c5d45

Please sign in to comment.