Ran the following code to test, and confirmed output in my console (only including the relevant testing code).
```
import { fetchPinnedMessages } from 'lib/actions/message-actions.js';
const callFetchPinnedMessages = useServerCall(fetchPinnedMessages);
React.useEffect(() => {
const getPins = async () => {
const pins = await callFetchPinnedMessages({ threadID });
console.log(pins);
};
getPins();
}, [...]);
```