We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b77da commit f077450Copy full SHA for f077450
src/templates/snek/gql/tasks/user.ts
@@ -130,15 +130,15 @@ class SnekGqlUserTasks {
130
/**
131
* Get profile.
132
*
133
- * @param {string} slug Slug: <p-<personName>>
+ * @param {string} personName personName: <schettn>
134
* @returns {Promise<ApolloResult<ProfileData>>} The profile page of a user
135
*/
136
- async profile(slug: string): Promise<ApolloResult<ProfileData>> {
+ async profile(personName: string): Promise<ApolloResult<ProfileData>> {
137
const response = await this.parent.run<ProfileData>(
138
"query",
139
this.parent.template.queries.user.profile,
140
{
141
- slug,
+ slug: `p-${personName}`,
142
token: await this.parent.session.upToDateToken(),
143
}
144
);
0 commit comments