mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-11 05:30:12 +00:00
12 lines
281 B
JavaScript
12 lines
281 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export function buildPreference(category, userId, name, value = 'true') {
|
|
return {
|
|
user_id: userId,
|
|
category,
|
|
name,
|
|
value,
|
|
};
|
|
}
|