Skip to content

Commit

Permalink
propertyValue added
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactoring committed Jun 1, 2023
1 parent 6adcdfe commit 0bf9cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/version3/appProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ export class AppProperties {
parameters: Parameters.PutAppProperty,
callback?: Callback<T>,
): Promise<void | T> {
// todo
const config: RequestConfig = {
url: `/rest/forge/1/app/properties/${parameters.propertyKey}`,
method: 'PUT',
data: parameters.propertyValue,
};

return this.client.sendRequest(config, callback);
Expand Down
2 changes: 2 additions & 0 deletions src/version3/parameters/putAppProperty.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export interface PutAppProperty {
/** The key of the property. */
propertyKey: string;
/** The value of the property. */
propertyValue: string;
}

0 comments on commit 0bf9cf4

Please sign in to comment.