-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
apiAPI related issues and pull requestsAPI related issues and pull requestsbugSomething isn't workingSomething isn't working
Description
Describe the bug
For log_moderator_add and log_moderator_remove types the moderator added/removed is listed in the API output rather than the moderator performing the action.
Here is a sample from https://kbin.earth/api/magazine/46/log which shows a log_moderator_add log type with myself listed as moderator when, as can be seen here https://kbin.earth/m/testing/modlog, jwr1 is the one adding me as a moderator.
{
"type":"log_moderator_add",
"createdAt":"2025-06-11T18:01:40+00:00",
"magazine":{
"magazineId":46,
"name":"testing",
"icon":{
"filePath":"0c\/b7\/0cb7d72d53122b283c61cb095a62ab28076d5d9171180c6a84ea7828dee7799b.png",
"sourceUrl":null,
"storageUrl":"https:\/\/media.kbin.earth\/0c\/b7\/0cb7d72d53122b283c61cb095a62ab28076d5d9171180c6a84ea7828dee7799b.png",
"altText":null,
"width":512,
"height":512,
"blurHash":"L9A*.z,s1dFx1}J-$4,D1fa|}DWq"
},
"banner":null,
"isUserSubscribed":null,
"isBlockedByUser":null,
"apId":null,
"apProfileId":"https:\/\/kbin.earth\/m\/testing"
},
"moderator":{
"userId":21760,
"username":"olorin99",
"isBot":false,
"isFollowedByUser":null,
"isFollowerOfUser":null,
"isBlockedByUser":null,
"isAdmin":false,
"isGlobalModerator":false,
"avatar":{
"filePath":"b5\/a9\/b5a991d2125f27f86e620b895999d9e53816a63a8ea0a409c4722ffba7fd2fcc.gif",
"sourceUrl":"https:\/\/media.kbin.social\/media\/b5\/a9\/b5a991d2125f27f86e620b895999d9e53816a63a8ea0a409c4722ffba7fd2fcc.gif",
"storageUrl":"https:\/\/media.kbin.earth\/b5\/a9\/b5a991d2125f27f86e620b895999d9e53816a63a8ea0a409c4722ffba7fd2fcc.gif",
"altText":null,
"width":260,
"height":215,
"blurHash":"L14.MGIW00r;%$-p4T9Z~qs:8_IU"
},
"apId":null,
"apProfileId":null,
"createdAt":"2023-12-28T05:55:45+00:00"
},
"subject":null
}
On which Mbin instance did you find the bug?
kbin.earth
Which Mbin version was running on the instance?
1.9.0-rc3
Expected behavior
I would expect the moderator performing the action to be listed as moderator and the moderator being added/removed to be listed under subject.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apiAPI related issues and pull requestsAPI related issues and pull requestsbugSomething isn't workingSomething isn't working